﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;

namespace Gmmy.RepositoryExtension
{
    public class BaseDbContext:DbContext
    {
        public BaseDbContext(DbContextOptions options) : base(options) { }

        public async Task CommitAsync()
        {
            await base.SaveChangesAsync();
        }
    }
}
